package com.tqjc.business.interactivewithscan.uils;

/**
 * @program: C20005_Xianggang_new
 * @description: 常规动作
 * @author: Patienyon
 * @create: 2023-10-31 10:35
 **/
public class CommonUtils {
    public static void sleep(int times) {
        try {
            Thread.sleep(times);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

    /**
     * 确认设备是否连接成功
     */
//    public static boolean confirmedSuccess(DeviceThread thread) {
//        if (thread == null) {
//            return false;
//        }
//        if (thread.getSocketClient() == null || !thread.getSocketClient().succeeded()) {
//            return false;
//        }
//        return true;
//    }
}
